stack: Queue a resize/allocate when switching children
authorBenjamin Otte <otte@redhat.com>
Wed, 4 Nov 2015 18:11:14 +0000 (19:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 4 Nov 2015 18:39:29 +0000 (19:39 +0100)
commitb6b00c31d7f0eace34f8ea75b75adf1983e108fe
tree740d407a8923a5f4a20a44428f7a178c68009c2b
parentc580a9d01f31496349ca9599e5271f5137e47783
stack: Queue a resize/allocate when switching children

We only allocate a size to the currently visible child, so we obviously
need to rerun allocation when the visible child changes.

In the case where the stack is not homogenous, we also need to queue a
resize because our size request just changed.
gtk/gtkstack.c